<?php

require_once "ComponentBase.php";
Loader::using("Models::Entities::Lineas");

class LineasComponent extends ComponentBase {

    public function getAll() {
        return $this->Lineas->GetAll();
    }

    public function getById($id) {
        return $this->Lineas->GetById($id);
    }

    public function update(Lineas $linea) {
        return $this->Lineas->Update($linea);
    }

    public function create(Lineas $linea) {
        return $this->Lineas->Create($linea);
    }

    public function remove($id) {
        $this->Lineas->Remove($id);
    }
    
    public function getEliminados() {
        return $this->Lineas->GetEliminados();
    }
    
    public function restaurar($id) {
        return $this->Lineas->Restaurar($id);
    }

}

?>